public class Product {
    int price,xl;
    String vendName,src,j,sName,sAddress;

    public Product(String sAddress, String sName, String j, String vendName, int xl, int price, String src) {
        this.sAddress = sAddress;
        this.sName = sName;
        this.j = j;
        this.src = src;
        this.vendName = vendName;
        this.xl = xl;
        this.price = price;
    }

    @Override
    public String toString() {
        return "Product{" +
                "price=" + price +
                ", xl=" + xl +
                ", vendName='" + vendName + '\'' +
                img()+ '\'' +
                ", j='" + j + '\'' +
                ", sName='" + sName + '\'' +
                ", sAddress='" + sAddress + '\'' +
                '}';
    }

    public int getPrice() {
        return price;
    }

    public int getXl() {
        return xl;
    }

    public String getVendName() {
        return vendName;
    }

    public String getJ() {
        return j;
    }

    public String getsName() {
        return sName;
    }

    public String getsAddress() {
        return sAddress;
    }

    public String getSrc() {
        return src;
    }

    public String img(){
        return "<img src="+src+">";
    }
}

